package mc.aspect;

import mc.Authenticator;

public aspect security {
	private Authenticator auth=new Authenticator();
	pointcut secureaccess() : execution(* mc.MessageCommunicator.deliver(..)) ;

	before() : secureaccess(){
		System.out.println("*** Securing ");		
		auth.authenticate();
	}
	
}
